﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.Entity;
using System.Data.Entity.Infrastructure;
using Mail.Model;

namespace Core.DAL.EF.DAO
{
    public partial class EmailModelContainer : DbContext
    {
        public EmailModelContainer()
            : base("name=EmailModelContainer")
        {
        }

        protected override void OnModelCreating(DbModelBuilder modelBuilder)
        {
            throw new UnintentionalCodeFirstException();
        }

        public DbSet<EmailUser> UserSet { get; set; }
        public DbSet<EmailCategory> EmailCategorySet { get; set; }
        public DbSet<User_Category> User_CategorySet { get; set; }
    }
}
